import request from '@/utils/request'

// 查询商品订单列表
export function listMallOrder(query) {
  return request({
    url: '/partybuilding/MallOrder/list',
    method: 'get',
    params: query
  })
}
// 查询商品订单详细
export function getMallOrder(id) {
  return request({
    url: '/partybuilding/MallOrder/' + id,
    method: 'get'
  })
}

// 新增商品订单
export function addMallOrder(data) {
  return request({
    url: '/partybuilding/MallOrder/add',
    method: 'post',
    data: data
  })
}